<script setup>
import {ref} from "vue";

const props = defineProps({
    data:{
        type: Object,
        required:true
    }
})
// const value = ref('');
// const timeChange = (time)=>{
//     data.value = time
// }
</script>

<template>
<div class="flex justify-center w-full">
    <div class="mr-2">
        {{data.orders}}
    </div>
    <div class="w-full">
        <div v-html="data.content"></div>
<!--        答题区域-->
        <div class="mt-3">
            <a-date-picker
                v-model="data.value"
                class="w-full"
                show-time
                @change="timeChange"
                format="YYYY-MM-DD hh:mm"
            />
        </div>
    </div>


</div>
</template>

<style scoped>

</style>
